<div class="widget_wrap">
    <div class="widget_top">
        <span class="h_icon blocks_images"></span>
        <h6>Editar parametro # <?php echo $this->request->data['Laboratoriosparametro']['id'] ?></h6>
    </div>
    <div class="widget_content">
        <?php echo $this->Form->create('Laboratorio', array('action' => 'ajaxeditarparametro', 'id' => 'formregistrosintoma', 'class' => 'form_container left_label')); ?>
        <?php echo $this->Form->hidden('Laboratoriosparametro.id', array('value' => $this->request->data['Laboratoriosparametro']['id'])) ?>
        <?php echo $this->Form->hidden('Laboratoriosparametro.laboratorio_id', array('value' => $id)) ?>
        <ul>
            <li>
                <div class="form_grid_12">
                    <label class="field_title" for="password">Nombre <span class="req">*</span></label>
                    <div class="form_input">
                        <?php echo $this->Form->text('Laboratoriosparametro.nombre', array('tabindex' => 1, 'class' => 'required mid')); ?>
                    </div>
                </div>
            </li>   
            <li>
                <div class="form_grid_12">
                    <label class="field_title">Rango</label>
                    <div class="form_input">
                        <select name="data[Laboratoriosparametro][rango]">
                            <?php if($this->request->data['Laboratoriosparametro']['rango']):?>
                            <option value="dentro" selected="selected">
                                Dentro de rango
                            </option>
                            <?php else:?>
                            <option value="dentro">
                                Dentro de rango
                            </option>
                            <?php endif;?>
                            <?php if($this->request->data['Laboratoriosparametro']['rango']):?>
                            <option value="fuera" selected="selected">
                                Fuera de rango
                            </option>
                            <?php else:?>
                            <option value="fuera">
                                Fuera de rango
                            </option>
                            <?php endif;?>
                         </select>
                    </div>
                </div>
            </li>
            <li>
                <div class="form_grid_12">
                    <label class="field_title" for="password">Descripcion </label>
                    <div class="form_input">
                        <?php echo $this->Form->text('Laboratoriosparametro.descripcion', array('tabindex' => 1)); ?>
                    </div>
                </div>
            </li> 

            <li>
                <div class="form_grid_12">
                    <div class="form_input">
                        <button type="submit" class="btn_small btn_blue"><span>Guardar cambios</span></button>
                    </div>
                </div>
            </li>
        </ul>
        </form>
    </div>
</div>
